/*  ----------------------------------------------------------------------------
 *  Arello Mobile
 *  Fast 3d Engine
 *  ----------------------------------------------------------------------------
 * Except where otherwise noted, this work is licensed under
 * http://creativecommons.org/licenses/by/3.0
 */

#ifndef __NOCOPY_H__
#define __NOCOPY_H__

namespace liba
{

/** This class is used to clearly specify to compiler and reader, that another
	class has no copy semantics.
	class MyType : private Nocopy. */
class Nocopy
{
	const Nocopy & operator=(const Nocopy & );
	Nocopy(const Nocopy & );
public:
	Nocopy()
	{}
	~Nocopy()
	{}
};

class NoAssign
{
	const NoAssign & operator=(const NoAssign & );
public:
	NoAssign()
	{}
	~NoAssign()
	{}
};

} //namespace liba

using namespace liba;

#endif //__NOCOPY_H__